package com.jackstraw.jack_base.remote_command.entity;


public enum ModelEnum {
    single("single", "单节点"),
    cluster("cluster", "集群"),
    one("one", "单个命令"),
    more("more", "多个命令"),
    start("start", "启动命令"),
    stop("stop", "停止命令"),
    restart("restart", "重启命令"),
    stats("stats", "状态命令"),
    jackstart("start", "启动命令"),
    jackstop("stop", "停止命令"),
    jackrestart("restart", "重启命令"),
    jackstats("stats", "状态命令"),
    ;

    ModelEnum(String code, String value) {
        this.code = code;
        this.value = value;
    }

    private String code;
    private String value;

    public String getCode() {
        return code;
    }

    public String getValue() {
        return value;
    }
}
